package marking.liu.pojo.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Builder;
import lombok.Data;
import marking.liu.pojo.domain.GainerDataDomain;

import java.util.List;

@Data
@Builder
@ApiModel(value = "PageResult", description = "分页返回数据")
public class PageResult {
    @ApiModelProperty(value = "总行数")
    private Integer totalRows;
    @ApiModelProperty(value = "总页数")
    private Integer totalPages;
    @ApiModelProperty(value = "当前页")
    private Integer pageNum;
    @ApiModelProperty(value = "每页大小")
    private Integer pageSize;
    @ApiModelProperty(value = "当前页大小")
    private Integer size;
    @ApiModelProperty(value = "数据")
    private List<GainerDataDomain> rows;
}
